<?php
declare (strict_types = 1);

namespace app\index\controller;
use think\facade\Request;
use app\common\helper\qrcode\Myqrcode;
use app\BaseController;

class Index extends BaseController
{
    public function index($t="222"): void
    {
        
        $controller = Request::controller();  // 当前控制器
        $action = Request::action();  // 当前方法
        
        echo "Controller: $controller, Action: $action";
        // echo "<img src=".Myqrcode::png($t).">";

    }
}
